import type Typings from "@/typings";

export const genderDict: Typings.Common.option[] = [
  { name: "男", code: "1", type: "danger" },
  { name: "女", code: "2", type: "success" },
];

export const roleDict: Typings.Common.option[] = [
  { name: "系统管理员", code: "system" },
  { name: "管理员", code: "admin" },
  { name: "普通用户", code: "common" },
];

// 重要等级
export const levelDict: Typings.Common.option[] = [
  { name: "紧急", code: "1", type: "primary" },
  { name: "高", code: "2", type: "success" },
  { name: "中", code: "3", type: "danger" },
  { name: "低", code: "4", type: "info" },
];

// 是否
export const sfMap: Typings.Common.option[] = [
  { name: "是", code: true, type: "success" },
  { name: "否", code: false, type: "danger" },
];

// 工作分类
export const jobCategory: Typings.Common.option[] = [
  { name: "需求", code: "1", type: "primary" },
  { name: "分支", code: "2", type: "success" },
  { name: "工时", code: "3", type: "warning" },
  { name: "其他", code: "4", type: "info" },
];

export const developCategory: Typings.Common.option[] = [
  { name: "需求", code: "1", type: "primary" },
  { name: "优化", code: "2", type: "success" },
  { name: "组件", code: "3", type: "warning" },
  { name: "其他", code: "4", type: "info" },
];
